<template>
  <h1>科室组件</h1>
  <f-depart v-model:value="dataValue" :branch="branch" :deptProps="['24']" class="s-w100" @change="change"/>
  {{ dataValue }}
  <f-ward :dept="dataValue" class="s-w100" @change="change" />
</template>

<script setup>
import { onBeforeMount, ref } from 'vue';

// const dataValue = ref(null);
const dataValue = ref('1744981864393474048');

// 3135950637871281 3135950751448146
const branch = ref('3135950751448146');
const change = (value,option)=>{
  console.log('value',value)
  console.log('option',option)
}
onBeforeMount(() => {

});
</script>

<style lang="scss">

</style>
